using System;
using System.Collections.Generic;
using System.Text;

namespace Xivo.Shared {
  public class PCREventArgs : EventArgs {
    public int length;
    public ResponseNumberEnum responseNumber;
    public ChannelInfo channelInfo;
    public byte[] RawData;
    public SignalData Signal;
    internal string GetString(int StartPos, int Length) {
      string s = Encoding.ASCII.GetString(RawData, StartPos, Length);
      s = s.Trim('\0');
      s = s.Trim();
      return s;
    }
  }
}
